<!doctype html>
<html>
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>中国银行深圳分行|尊享积分</title>
    {{--<link rel="stylesheet" href="/chinabank/app/css/app.css?time={{time()}}">--}}
    <link rel="stylesheet" href="/chinabank/app/css/app.css?time=">
</head>
<body class="page-orders">
<div id="app">


    <div class="container">
        <div class="navs">
            <p v-bind:class="[orderNav<0?'active':'','nav']" v-on:click="filterOrder(-1)">全部</p>
            <p class="flex1"></p>
            <p v-bind:class="[orderNav==0?'active':'','nav']" v-on:click="filterOrder(0)">待确认</p>
            <p class="flex1"></p>
            <p v-bind:class="[orderNav==1?'active':'','nav']" v-on:click="filterOrder(1)">待拍摄</p>
            <p class="flex1"></p>
            <p v-bind:class="[orderNav==2?'active':'','nav']" v-on:click="filterOrder(2)">已完成</p>
            <p class="flex1"></p>
            <p v-bind:class="[orderNav==3?'active':'','nav']" v-on:click="filterOrder(3)">已关闭</p>
        </div>



        <div v-for="order in showOrders" class="order-list">
            <div class="nth1">
                <p class="flex1">订单号: <span v-text="order.order_sn"></span></p>
                <p v-text="order.statusName"></p>
            </div>

            <div class="nth2">
                <img v-bind:src="'/'+ order.thumb_img" alt="">
                <p class="gname flex1" v-text="order.goodsName"></p>
                <p class="red" v-text="order.price + '积分'"></p>
            </div>

            <div class="nth3">
                <p>拍摄门店：<span v-text="order.shopName"></span></p>
                <p>到店时间：<span v-text="order.book_date"></span></p>
                <p>预约姓名：<span v-text="order.user_name"></span></p>
                <p>手机号码：<span v-text="order.user_mobile"></span></p>
                <p class="flex">
                    <span class="flex1" v-text="'兑换卡号：'+order.cardAccount"></span>
                    <span v-text="'密码：'+order.cardPwd"></span>
                </p>
                <p>客服热线：<a href="tel:4000072201" >400-007-2201</a></p>
            </div>
        </div>

    </div>

    <div style="height:120px;"></div>

    {{--底部菜单--}}
    <div class="menu-container">
        <a class="menu" href="index">
            <img src="/chinabank/app/images/static/menu1.png" alt="">
            <p>预约</p>
        </a>
        <a class="menu active">
            <img src="/chinabank/app/images/static/menu2-active.png" alt="">
            <p>订单</p>
        </a>
    </div>

    {{--提示信息--}}
    <div class="dialog" v-show="dialog.show" style="display: none;">
        <div class="flex1"></div>
        <div class="msg-box">
            <p class="msg" v-text="dialog.msg"></p>
            <p class="btn">
                <em class="flex1" v-show="dialog.type == 'confirm'"></em>
                <span class="no" v-show="dialog.type == 'confirm'" v-on:click="dialogCallback(false)">取消</span>
                <em class="flex1" v-show="dialog.type == 'confirm'"></em>
                <em class="flex1"></em>
                <span class="yes" v-on:click="dialogCallback(true)">确定</span>
                <em class="flex1"></em>
            </p>
        </div>
        <div class="flex1"></div>
    </div>

</div>
</body>
</html>
<script>
    var APP_PAGE = "orders";
    var orders  = {!! $orders !!};
</script>
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="/chinabank/app/js/app.js?v={{time()}}"></script>
